<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ include file="/common/taglibs.jsp"%>
<x:parse xml="${param.xmlstr}" var="xmlData" />
<div class="t_bar">
	<span class="color_red">*</span>项目组主要参与者
</div>
<table  id="zh_persons" border="0" cellspacing="0" cellpadding="0" class="table01" >
		<thead>
			<tr>
                <th align="center" width="25px">序号</th>
				<th align="center" width="80px">姓名</th>
				<th align="center" width="100px">身份证号码/其他号码</th>
				<th align="center" width="30px">性别</th>
				<th align="center" width="65px">职称</th>
				<th align="center" width="60px">学位</th>
				<th align="center" width="60px">从事专业</th>
				<th align="center" width="100px">单位名称</th>
				<th align="center" width="100px">电话</th>
				<th align="center" width="100px">电子邮箱</th>
				<th align="center" width="80px">项目分工</th>
				<th align="center" width="60px">每年工作时间（月）</th>
			</tr>
		</thead>
		<tbody id="tab">
		<c:set value="0" var="index" scope="page" />
			 <x:forEach select="$xmlData/data/zh_persons/zh_person" var="zh_person">
				<c:choose>
					<c:when test="${index<10}">
						<c:set value="0" var="flag" scope="page" />
					</c:when>
					<c:otherwise>
						<c:set value="" var="flag" scope="page" />
					</c:otherwise>
				</c:choose>
				<tr>
					<td>
					    	<input type="radio" name="sel_zh_persons" onclick="setSubmitPsn()" style="display:none"/> 
						<input type="hidden" name="zh_persons/zh_person[${flag}${index}]/basic_info/en_name" value="<x:out select="$zh_person/basic_info/en_name" />"/>
						<input type="hidden" name="zh_persons/zh_person[${flag}${index}]/basic_info/ethnicity_value" value="<x:out select="$zh_person/basic_info/ethnicity_value" />"/>
						<input type="hidden" name="zh_persons/zh_person[${flag}${index}]/basic_info/ethnicity_name" value="<x:out select="$zh_person/basic_info/ethnicity_name" />"/>
						<input type="hidden" name="zh_persons/zh_person[${flag}${index}]/basic_info/region_value" value="<x:out select="$zh_person/basic_info/region_value" />" />
						<input type="hidden" name="zh_persons/zh_person[${flag}${index}]/basic_info/region_name" value="<x:out select="$zh_person/basic_info/region_name" />" />
						<input type="hidden" name="zh_persons/zh_person[${flag}${index}]/basic_info/gender_value" value="<x:out select="$zh_person/basic_info/gender_value" />" />
						<input type="hidden" name="zh_persons/zh_person[${flag}${index}]/basic_info/birthday" value="<x:out select="$zh_person/basic_info/birthday" />" />
						<c:set var ="tmp"><x:out select="$zh_person/basic_info/card_type_value" /></c:set>
						<input type="hidden" name="zh_persons/zh_person[${flag}${index}]/basic_info/card_type_value" value="${fn:replace(tmp,' ','') }" />
						<input type="hidden" name="zh_persons/zh_person[${flag}${index}]/basic_info/academician_value" value="<x:out select="$zh_person/basic_info/academician_value" />" />
						<input type="hidden" name="zh_persons/zh_person[${flag}${index}]/basic_info/academician_name" value="<x:out select="$zh_person/basic_info/academician_name" />" />
						<input type="hidden" name="zh_persons/zh_person[${flag}${index}]/basic_info/org_code" value="<x:out select="$zh_person/basic_info/org_code" />" />
						<input type="hidden" name="zh_persons/zh_person[${flag}${index}]/contact/tel_work" value="<x:out select="$zh_person/contact/tel_work" />" />
						<input type="hidden" name="zh_persons/zh_person[${flag}${index}]/contact/fax" value="<x:out select="$zh_person/contact/fax" />" />
						<input type="hidden" name="zh_persons/zh_person[${flag}${index}]/basic_info/degree_value" value="<x:out select="$zh_person/basic_info/degree_value" />" />
						<input type="hidden" name="zh_persons/zh_person[${flag}${index}]/basic_info/degree_name" value="<x:out select="$zh_person/basic_info/degree_name" />" />
						<input type="hidden" name="zh_persons/zh_person[${flag}${index}]/basic_info/post_code" value="<x:out select="$zh_person/basic_info/post_code" />" />
						<input type="hidden" name="zh_persons/zh_person[${flag}${index}]/basic_info/degree_country_value" value="<x:out select="$zh_person/basic_info/degree_country_value" />" /> 
						<input type="hidden" name="zh_persons/zh_person[${flag}${index}]/basic_info/degree_country_name" value="<x:out select="$zh_person/basic_info/degree_country_name" />" /> 
						<input type="hidden" name="zh_persons/zh_person[${flag}${index}]/basic_info/degree_college" value="<x:out select="$zh_person/basic_info/degree_college" />" /> 
						<input type="hidden" name="zh_persons/zh_person[${flag}${index}]/basic_info/degree_year" value="<x:out select="$zh_person/basic_info/degree_year" />" /> 
						<input type="hidden" name="zh_persons/zh_person[${flag}${index}]/basic_info/prof_title_value" value="<x:out select="$zh_person/basic_info/prof_title_value" />" /> 
						<input type="hidden" name="zh_persons/zh_person[${flag}${index}]/basic_info/address" value="<x:out select="$zh_person/basic_info/address" />"/>
						<input type="hidden" name="zh_persons/zh_person[${flag}${index}]/basic_info/position" value="<x:out select="$zh_person/basic_info/position" />"/>
						<c:set var ="tmp"><x:out select="$zh_person/basic_info/post_doctor_value" /></c:set>
						<input type="hidden" name="zh_persons/zh_person[${flag}${index}]/basic_info/post_doctor_value" value="${fn:replace(tmp,' ','') }"/>
						<input type="hidden" name="zh_persons/zh_person[${flag}${index}]/basic_info/post_doctor_name" value="<x:out select="$zh_person/basic_info/post_doctor_name" />"/>
						<input type="hidden" name="zh_persons/zh_person[${flag}${index}]/basic_info/age" value="<x:out select="$zh_person/basic_info/age" />"/>
						<input type="hidden" name="zh_persons/zh_person[${flag}${index}]/basic_info/educate_value" value="<x:out select="$zh_person/basic_info/educate_value" />"/>
						<input type="hidden" name="zh_persons/zh_person[${flag}${index}]/basic_info/educate_name" value="<x:out select="$zh_person/basic_info/educate_name" />"/>
						<input type="hidden" name="zh_persons/zh_person[${flag}${index}]/iscomember" value="0"/>
						
						<input type="hidden" name="zh_persons/zh_person[${flag}${index}]/researches" label="xml"/>
						<span name="zh_persons/zh_person[${flag}${index}]/@seq_no"><x:out select="$zh_person/@seq_no" /></span>
					
					</td>
					<td>
						<span name="zh_persons/zh_person[${flag}${index}]/basic_info/zh_name"><a href="#" class="yase" onclick="psnInfoView(this,'zh_persons')"><x:out select="$zh_person/basic_info/zh_name" /></a></span>
					</td>
					<td>
						<span name="zh_persons/zh_person[${flag}${index}]/basic_info/card_code"><x:out select="$zh_person/basic_info/card_code" /></span>
					</td>
					<td>
					    <span name="zh_persons/zh_person[${flag}${index}]/basic_info/gender_value_name">  
					       <c:set var="gender_value_name"><x:out select="$zh_person/basic_info/gender_value_name" /></c:set>
					       <c:set var="gender_value"><x:out select="$zh_person/basic_info/gender_value" /></c:set>
					       <c:choose>
					          <c:when test="${not empty gender_value_name}">
					               <x:out select="$zh_person/basic_info/gender_value_name" />
					          </c:when>
					          <c:when test="${empty gender_value_name && gender_value == 'M'}">
						                             男
					          </c:when>
					          <c:when test="${empty gender_value_name && gender_value == 'F'}">
						                             女 
					          </c:when>
					       </c:choose>
					    </span>
					</td>
					<td>
						<span name="zh_persons/zh_person[${flag}${index}]/basic_info/prof_title_name"><x:out select="$zh_person/basic_info/prof_title_name" /></span>
					</td>
					<td>
						<span name="zh_persons/zh_person[${flag}${index}]/basic_info/degree_name"><x:out select="$zh_person/basic_info/degree_name" /></span>
					</td>
					<td>
					
						<span name="zh_persons/zh_person[${flag}${index}]/basic_info/major_work"><x:out select="$zh_person/basic_info/major_work" /></span>
					</td>
					<td>
						<span name="zh_persons/zh_person[${flag}${index}]/basic_info/org_name"><x:out select="$zh_person/basic_info/org_name" /></span>
					</td>
					<td>
						<span name="zh_persons/zh_person[${flag}${index}]/contact/mobile"><x:out select="$zh_person/contact/mobile" /></span>
					</td>
					<td>
						<span name="zh_persons/zh_person[${flag}${index}]/contact/email"><x:out select="$zh_person/contact/email" /></span>
					</td>
					
					<td>
						<span name="zh_persons/zh_person[${flag}${index}]/basic_info/work"><c:choose><c:when test="${index==0}">项目负责人</c:when><c:otherwise><x:out select="$zh_person/basic_info/work" /></c:otherwise></c:choose></span>
					</td>
			
				    <td>
						<span name="zh_persons/zh_person[${flag}${index}]/basic_info/working_time"><x:out select="$zh_person/basic_info/working_time" /></span>
					</td>
				</tr>
				<c:set value="${index+1}" var="index" scope="page" />
			</x:forEach>
			</tbody>
	</table>
<br>
<div class="t_bar">
	<span class="color_red">*</span>人员情况
</div>
<table class="t_css" width="100%" border="0" cellpadding="0"
	cellspacing="1">

	
	<tr class="li_1">
		<td align="left">项目人员总数：</td>
		<td>
			<x:out select="$xmlData/data/zh_persons/psncnt_total" />
		</td>
		<td align="left" nowrap>其中  高级：</td>
		<td>
			<x:out select="$xmlData/data/zh_persons/psncnt_high" />
		</td>
			<td align="left"nowrap>中级：</td>
		<td>
			<x:out select="$xmlData/data/zh_persons/psncnt_mid" />
		</td>
		<td align="left"nowrap>初级：</td>
		<td>
			<x:out select="$xmlData/data/zh_persons/psncnt_low" />
		</td>
	
	</tr>
	<tr>
		<td align="left"nowrap>博士后：</td>
		<td>
			<x:out select="$xmlData/data/zh_persons/psncnt_postdoctor" />
		</td>
		<td align="left"nowrap>博士生：</td>
		<td>
			<x:out select="$xmlData/data/zh_persons/psncnt_doctoral" />
		</td>
		<td align="left"nowrap>硕士生：</td>
		<td>
			<x:out select="$xmlData/data/zh_persons/psncnt_master" />
		</td>
	<tr>
</table>
